package com.sxjh.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * IC卡列表 
 * </p>
 *
 * @author zixin
 * @since 2021-06-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("it_ic")
@ApiModel(value="Ic对象", description="IC卡列表 ")
public class Ic implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "唯一ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "卡号")
    @TableField("number")
    private String number;

    @ApiModelProperty(value = "印刷编号")
    @TableField("printing")
    private String printing;

    @ApiModelProperty(value = "车号ID")
    @TableField("wagon_number_id")
    private Integer wagonNumberId;

    /*@ApiModelProperty(value = "皮重")
    @TableField("tare")
    private String tare;

    @ApiModelProperty(value = "皮重图片1")
    private String tareImg;

    @ApiModelProperty(value = "皮重图片2")
    private String tareImgTwo;*/

    @ApiModelProperty(value = "创建人")
    @TableField(value = "created_by", fill = FieldFill.INSERT)
    private Integer createdBy;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "created_at", fill = FieldFill.INSERT)
    private LocalDateTime createdAt;

    @ApiModelProperty(value = "更新人")
    @TableField(value = "updated_by", fill = FieldFill.UPDATE)
    private Integer updatedBy;

    @ApiModelProperty(value = "更新时间")
    @TableField(value = "updated_at", fill = FieldFill.UPDATE)
    private LocalDateTime updatedAt;

    @ApiModelProperty(value = "删除人")
    @TableField("deleted_by")
    private Integer deletedBy;

    @ApiModelProperty(value = "删除时间")
    @TableField(value = "deleted_at", fill = FieldFill.DEFAULT)
    private LocalDateTime deletedAt;

    @ApiModelProperty(value = "手续费")
    @TableField("fee")
    private String fee;

    @ApiModelProperty(value = "备注")
    @TableField("remark")
    private String remark;

}
